package com.example._03vehicle.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class NoticeSelectVo {
    @ApiModelProperty(value = "公告Id",required = true,example = "1" )
    private Long id;
    @ApiModelProperty(value = "公告标题",required = true,example = "公告标题" )
    private String title;
    @ApiModelProperty(value = "公告内容",required = true,example = "公告内容" )
    private String content;
    @ApiModelProperty(value = "公告类型",required = true,example = "1" )
    private Integer type;
    @ApiModelProperty(value = "用户Id",required = true,example = "1" )
    private Long userId;

    //@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    //@ApiModelProperty(value = "创建时间",required = true)
    private Date createTime;

}
